import Vue from 'vue'

import VueX from 'vuex'

import home from '@/store/modules/home'
import search from '@/store/modules/search'
import detail from '@/store/modules/detail'
import user from '@/store/modules/user'

Vue.use(VueX)

export default new VueX.Store({
    modules:{
        home,
        search,
        detail,
        user
    }
})